package com.qidian.hw.pojo;

/**
 * @Author ꒰ঌ(李ᆺ琛)໒꒱
 * @Date 2022/8/19 18:01
 * @Version 1.8
 */
public class News {
    private long newsId;//新闻编号
    private String newsTitle;//新闻标题
    private String newsDesc;//新闻描述
    private String newsImg;//新闻图片
    private String newsKeyword;//新闻关键字
    private int newsClickCount;//新闻点击数
    private String newsDetails;//新闻详情
    private String createTime;//创建时间
    private String modifyTime;//最后一次修改时间
    private int status;//状态

    //无参构造
    public News() {
    }

    //构造方法
    public News(String newsTitle, String newsDesc, String newsImg, String newsKeyword, int newsClickCount, String newsDetails) {
        this.newsTitle = newsTitle;
        this.newsDesc = newsDesc;
        this.newsImg = newsImg;
        this.newsKeyword = newsKeyword;
        this.newsClickCount = newsClickCount;
        this.newsDetails = newsDetails;
    }

    //setter和getter
    public long getNewsId() {
        return newsId;
    }

    public void setNewsId(long newsId) {
        this.newsId = newsId;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsDesc() {
        return newsDesc;
    }

    public void setNewsDesc(String newsDesc) {
        this.newsDesc = newsDesc;
    }

    public String getNewsImg() {
        return newsImg;
    }

    public void setNewsImg(String newsImg) {
        this.newsImg = newsImg;
    }

    public String getNewsKeyword() {
        return newsKeyword;
    }

    public void setNewsKeyword(String newsKeyword) {
        this.newsKeyword = newsKeyword;
    }

    public int getNewsClickCount() {
        return newsClickCount;
    }

    public void setNewsClickCount(int newsClickCount) {
        this.newsClickCount = newsClickCount;
    }

    public String getNewsDetails() {
        return newsDetails;
    }

    public void setNewsDetails(String newsDetails) {
        this.newsDetails = newsDetails;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
